package com.sunyur.tailor.channel.common.outer.enums;

/**
 *
 * @Author 99288
 * @Description 外部返回枚举类
 * @Date 15:00 2021/7/16
 * @Param
 * @return
**/
public enum OuterResultEnum {
    SUCCESS("","操作成功"),
    FAILED("","操作失败"),
    EXCEPTION("","操作异常"),
    PARAM_ERROR("", "参数错误"),
    PARAM_NULL("", "参数为空");

    private String code;
    private String value;

    OuterResultEnum(String code, String value) {
        this.value = value;
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
